<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>My Project: M:/移动硬盘/曹健/DX3D完成作业/619/D3DX封装/src/ParticleEmitter.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.9.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>文件成员</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ParticleEmitter.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_particle_emitter_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/********************************************************************</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">created:    2007/03/26</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">created:    26:3:2007   9:46</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">filename:   ParticleEmitter.h</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">author:     任晓宇</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">purpose:    定义粒子发射器类。</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">changelog:  2007/04/30  加入Clone函数，以方便生成多个对象。</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">*********************************************************************/</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="keyword">class </span><a class="code" href="class_particle.html">Particle</a>;</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keyword">class </span><a class="code" href="class_particle_group.html">ParticleGroup</a>;</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="keyword">class </span><a class="code" href="class_ti_xml_element.html">TiXmlElement</a>;</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_particle_emitter.html">   24</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_particle_emitter.html">ParticleEmitter</a></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;{</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#aaef736e0c751315eaa01d6a2f5327c5d">   27</a></span>&#160;    <span class="keywordtype">string</span> <a class="code" href="class_particle_emitter.html#aaef736e0c751315eaa01d6a2f5327c5d">m_Type</a>;</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#a321a4e7745e2a5fc01c915f7a5f60871">   29</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle_emitter.html#a321a4e7745e2a5fc01c915f7a5f60871">m_fEmissionRate</a>;</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#ad4b73237cc23d6acbfc2d8afe76e782c">   31</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle_emitter.html#ad4b73237cc23d6acbfc2d8afe76e782c">m_fRemainder</a>;</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#a933ac6626b9ff109d6b4b92e16e11835">   33</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_particle_emitter.html#a933ac6626b9ff109d6b4b92e16e11835">m_vPosition</a>;</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#a0f96f90951bdfe9b8ea97a17cf219f16">   35</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_particle_emitter.html#a0f96f90951bdfe9b8ea97a17cf219f16">m_vDirection</a>;</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#a15933015716489b7e2e898365fe65086">   37</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_particle_emitter.html#a15933015716489b7e2e898365fe65086">m_vUp</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#aa179b51274444dae513302c1f4699a40">   43</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle_emitter.html#aa179b51274444dae513302c1f4699a40">m_fAngle</a>;</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#a0da4319110bddc120f9ba1d08c8ec2d1">   45</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle_emitter.html#a0da4319110bddc120f9ba1d08c8ec2d1">m_fMinTTL</a>;</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#a4dba8f0a5ae92e8b74614acffac089d3">   47</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle_emitter.html#a4dba8f0a5ae92e8b74614acffac089d3">m_fMaxTTL</a>;</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#a9002a897dbeb7eb645af9448a4546599">   49</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle_emitter.html#a9002a897dbeb7eb645af9448a4546599">m_fMinSpeed</a>;</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#aeb53a3297453172c7118eddbad15fa93">   51</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle_emitter.html#aeb53a3297453172c7118eddbad15fa93">m_fMaxSpeed</a>;</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#a04fdd9e261ba5e773f70777c2e34df47">   53</a></span>&#160;    DWORD <a class="code" href="class_particle_emitter.html#a04fdd9e261ba5e773f70777c2e34df47">m_dwStartColor</a>;</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#ab051553f050675ad68a529a9480a0f9c">   55</a></span>&#160;    DWORD <a class="code" href="class_particle_emitter.html#ab051553f050675ad68a529a9480a0f9c">m_dwEndColor</a>;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#aeb9d80a567d6579dea60ed090abd04d3">   58</a></span>&#160;    <span class="keywordtype">float</span>               <a class="code" href="class_particle_emitter.html#aeb9d80a567d6579dea60ed090abd04d3">m_fDurationMin</a>;     </div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#a17eb39158326b7c0b89be4c3968de519">   59</a></span>&#160;    <span class="keywordtype">float</span>               <a class="code" href="class_particle_emitter.html#a17eb39158326b7c0b89be4c3968de519">m_fDurationMax</a>;     </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#acdcc4d525c00dfe61df4618a9af0be5b">   60</a></span>&#160;    <span class="keywordtype">float</span>               <a class="code" href="class_particle_emitter.html#acdcc4d525c00dfe61df4618a9af0be5b">m_fDurationRemain</a>;  </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#a431a2b88623a2a155ccbfbcc54675828">   62</a></span>&#160;    <span class="keywordtype">float</span>               <a class="code" href="class_particle_emitter.html#a431a2b88623a2a155ccbfbcc54675828">m_fRepeatDelayMin</a>;  </div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#ab3c66f7f52f4a65eafd3cb231c0de1cd">   63</a></span>&#160;    <span class="keywordtype">float</span>               <a class="code" href="class_particle_emitter.html#ab3c66f7f52f4a65eafd3cb231c0de1cd">m_fRepeatDelayMax</a>;</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#ac19c019e5960a32c28697ccdb097cdb8">   64</a></span>&#160;    <span class="keywordtype">float</span>               <a class="code" href="class_particle_emitter.html#ac19c019e5960a32c28697ccdb097cdb8">m_fRepeatDelayRemain</a>;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#a89faa8c4e90eded84b33ddd73fb50f38">   66</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_particle_emitter.html#a89faa8c4e90eded84b33ddd73fb50f38">m_bEnable</a>;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="class_particle_emitter.html#a19ba08a92ef1e2c546264dda07e0cf34">   68</a></span>&#160;    <a class="code" href="class_particle_group.html">ParticleGroup</a> *<a class="code" href="class_particle_emitter.html#a19ba08a92ef1e2c546264dda07e0cf34">m_pParent</a>;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <a class="code" href="class_particle_emitter.html#aed007d0a773ff80174598d3afcf57b90">ParticleEmitter</a>(<a class="code" href="class_particle_group.html">ParticleGroup</a> *pParent);</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_particle_emitter.html#a6f4952f7555ede99d74d42b30c80f3e2">~ParticleEmitter</a>();</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    </div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_particle_emitter.html#aeea87d7346591c680dd0461f8b9519fa">SetDirection</a>( D3DXVECTOR3 &amp;dir );</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_particle_emitter.html#ad8b1d158efad6959e5537e2786b54be4">SetDuration</a>(<span class="keywordtype">float</span> min, <span class="keywordtype">float</span> max);</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_particle_emitter.html#a60ec850dc9389b43786c792be9798723">SetRepeatDelay</a>(<span class="keywordtype">float</span> min, <span class="keywordtype">float</span> max);</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_particle_emitter.html#a5d82883724ec7297a6787b2668709009">SetEnable</a>( <span class="keywordtype">bool</span> bEnable );</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_particle_emitter.html#afa810b7f0033db4986c549ea3d7c8161">InitParticle</a>( <a class="code" href="class_particle.html">Particle</a> *p );</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_particle_emitter.html#aa6c58b25d7ea135f9f4473a60a415aa8">GenEmissionCount</a>( <span class="keywordtype">float</span> fElapsedTime );</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">float</span> <a class="code" href="class_particle_emitter.html#ad0583613e00b564f6c868c5f4d94fb06">_GenEmissionTTL</a>();</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_particle_emitter.html#a61dffba32bcd41deeca2d79d3db11dde">_GenEmissionPosition</a>( D3DXVECTOR3 &amp;destVector );</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    </div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_particle_emitter.html#a6877d69d411f4cb478ee3ab9a681a2c0">_GenEmissionDirection</a>( D3DXVECTOR3 &amp;destVector );</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_particle_emitter.html#af4af88a71454913e6e2bd41762804025">_GenEmissionSpeed</a>( D3DXVECTOR3 &amp;destVector );</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_particle_emitter.html#a428147d02db1fd051687d8c21699815c">_GenEmissionColor</a>( DWORD &amp;color );</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_particle_emitter.html#ac02f812c256b1f83b0dcaf8317368429">_InitDurationRepeat</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_particle_emitter.html#abaf74d367f0b0c2f0cdcc4a911edbcca">Load</a>( <a class="code" href="class_ti_xml_element.html">TiXmlElement</a> *pElemEmitter );</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_particle_emitter.html#a0e1398096052f568c81732a1dfa71093">Save</a>( <a class="code" href="class_ti_xml_element.html">TiXmlElement</a> *pElemEmitter );</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_particle_emitter.html#aa5662c615a7380ee3558ad4c59de0107">Clone</a>( <a class="code" href="class_particle_emitter.html">ParticleEmitter</a> *pe );</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;};</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="class_point_emitter.html">  131</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_point_emitter.html">PointEmitter</a> : <span class="keyword">public</span> <a class="code" href="class_particle_emitter.html">ParticleEmitter</a></div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;{</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    <a class="code" href="class_point_emitter.html#a7b9edf60c02651f5a12d6b2d4c06a6ae">PointEmitter</a>(<a class="code" href="class_particle_group.html">ParticleGroup</a> *pParent);</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_point_emitter.html#ad62157a25ec8eaf4de7f82e8177021a9">~PointEmitter</a>();</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;};</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="class_area_emitter.html">  141</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_area_emitter.html">AreaEmitter</a> : <span class="keyword">public</span> <a class="code" href="class_particle_emitter.html">ParticleEmitter</a></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;{</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    <a class="code" href="class_area_emitter.html#ad6c8bddbea4e8f97860267fffe64c084">AreaEmitter</a>(<a class="code" href="class_particle_group.html">ParticleGroup</a> *pParent);</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_area_emitter.html#ade6d2f5fc6ffe5103589b27018883c6d">~AreaEmitter</a>();</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="class_area_emitter.html#a210bbe87dccd9454db2030ff1fe153a1">  148</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_area_emitter.html#a210bbe87dccd9454db2030ff1fe153a1">m_vSize</a>;</div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="class_area_emitter.html#a3ceaf96d1fd92697deb956e173bea432">  149</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_area_emitter.html#a3ceaf96d1fd92697deb956e173bea432">m_vXRange</a>;</div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="class_area_emitter.html#a6d89fb04c881508e8979b1d859569370">  150</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_area_emitter.html#a6d89fb04c881508e8979b1d859569370">m_vYRange</a>;</div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="class_area_emitter.html#a2f0d809735a956e7965ee5947a9b2351">  151</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_area_emitter.html#a2f0d809735a956e7965ee5947a9b2351">m_vZRange</a>;</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_area_emitter.html#a0d17b48e7e640b4456721348407b83c4">SetSize</a>( <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> z );</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_area_emitter.html#a8c29bdc2c54086f7b69a6acb5f5e3c9a">Load</a>( <a class="code" href="class_ti_xml_element.html">TiXmlElement</a> *pElemEmitter );</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_area_emitter.html#a3f22dd54875e02173aeb0edcfaf95e57">Save</a>( <a class="code" href="class_ti_xml_element.html">TiXmlElement</a> *pElemEmitter );</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_area_emitter.html#a66785ba072a21b45653eb4896d412f54">Clone</a>( <a class="code" href="class_particle_emitter.html">ParticleEmitter</a> *pe );</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;};</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;</div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="class_box_emitter.html">  162</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_box_emitter.html">BoxEmitter</a> : <span class="keyword">public</span> <a class="code" href="class_area_emitter.html">AreaEmitter</a></div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;{</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    <a class="code" href="class_box_emitter.html#a7a9f828651c6758f9f9451bccd710061">BoxEmitter</a>(<a class="code" href="class_particle_group.html">ParticleGroup</a> *pParent);</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_box_emitter.html#ac888a513eb167defddb5084305d9c5c4">~BoxEmitter</a>();</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_box_emitter.html#a5d07348f477a582c99ad7d29c31eb2ae">_GenEmissionPosition</a>( D3DXVECTOR3 &amp;destVector );</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;};</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;</div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="class_ellipsoid_emitter.html">  173</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_ellipsoid_emitter.html">EllipsoidEmitter</a> : <span class="keyword">public</span> <a class="code" href="class_area_emitter.html">AreaEmitter</a></div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;{</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;    <a class="code" href="class_ellipsoid_emitter.html#a136d41507f619a050d7bfe82f02d9132">EllipsoidEmitter</a>(<a class="code" href="class_particle_group.html">ParticleGroup</a> *pParent);</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_ellipsoid_emitter.html#aacfce08531cd0f0484719783cf7cd38d">~EllipsoidEmitter</a>();</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_ellipsoid_emitter.html#a9df549a7b86c780b8d3a1f5dd127fd62">_GenEmissionPosition</a>( D3DXVECTOR3 &amp;destVector );</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;};</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;</div>
<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="class_ring_emitter.html">  183</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_ring_emitter.html">RingEmitter</a> : <span class="keyword">public</span> <a class="code" href="class_area_emitter.html">AreaEmitter</a></div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;{</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    <a class="code" href="class_ring_emitter.html#ac45625ef7cd0e0815aca40c43811617d">RingEmitter</a>(<a class="code" href="class_particle_group.html">ParticleGroup</a> *pParent);</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_ring_emitter.html#adcb3d13935eac7e2db7edefd20f2df28">~RingEmitter</a>();</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_ring_emitter.html#ada90f3c8695b7afab4f2c7719fec3b3d">_GenEmissionPosition</a>( D3DXVECTOR3 &amp;destVector );</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_ring_emitter.html#aba56fbe16fac961e9b698355aff28786">SetInnerSize</a>( <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y );</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_ring_emitter.html#a8a1a17547895ab7bb337821ba1b84583">Clone</a>( <a class="code" href="class_particle_emitter.html">ParticleEmitter</a> *pe );</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_ring_emitter.html#a3ef079aa3e99c19a816ef78599b8c2ed">Load</a>( <a class="code" href="class_ti_xml_element.html">TiXmlElement</a> *pElemEmitter );</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_ring_emitter.html#a0f50b7f52feb973ddd0c1f8a4982f97e">Save</a>( <a class="code" href="class_ti_xml_element.html">TiXmlElement</a> *pElemEmitter );</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;</div>
<div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="class_ring_emitter.html#a065517ae5ff6bb665783505170e122d3">  195</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_ring_emitter.html#a065517ae5ff6bb665783505170e122d3">m_fInnerX</a>;</div>
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="class_ring_emitter.html#ab9cfd92e7873cbf93ffc2fbd59fc8dcd">  197</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_ring_emitter.html#ab9cfd92e7873cbf93ffc2fbd59fc8dcd">m_fInnerY</a>;</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;};</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;</div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="class_hollow_ellipsoid_emitter.html">  202</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_hollow_ellipsoid_emitter.html">HollowEllipsoidEmitter</a> : <span class="keyword">public</span> <a class="code" href="class_area_emitter.html">AreaEmitter</a></div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;{</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;    <a class="code" href="class_hollow_ellipsoid_emitter.html#a83415a4dda4d7cb1d5c3957a03430109">HollowEllipsoidEmitter</a>(<a class="code" href="class_particle_group.html">ParticleGroup</a> *pParent);</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_hollow_ellipsoid_emitter.html#a7f7332124a559cbaa684780cb02924be">~HollowEllipsoidEmitter</a>();</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_hollow_ellipsoid_emitter.html#aeb8648ce97960cf4be2ba8840c4cbbfb">_GenEmissionPosition</a>( D3DXVECTOR3 &amp;destVector );</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_hollow_ellipsoid_emitter.html#a290db4d7ebda6f733378588116e160d2">InitParticle</a>( <a class="code" href="class_particle.html">Particle</a> *p );</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_hollow_ellipsoid_emitter.html#a3d8c992be1030cd4b71f921a5542c7e6">SetInnerSize</a>( <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> z );</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_hollow_ellipsoid_emitter.html#a9127f947b168b46f6adccfe7a5253d58">Clone</a>( <a class="code" href="class_particle_emitter.html">ParticleEmitter</a> *pe );</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;</div>
<div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="class_hollow_ellipsoid_emitter.html#a9b21c611a4cd34abdd611515f33c9141">  213</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_hollow_ellipsoid_emitter.html#a9b21c611a4cd34abdd611515f33c9141">m_vInnerSize</a>;</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;};</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;</div>
<div class="ttc" id="class_hollow_ellipsoid_emitter_html_a9127f947b168b46f6adccfe7a5253d58"><div class="ttname"><a href="class_hollow_ellipsoid_emitter.html#a9127f947b168b46f6adccfe7a5253d58">HollowEllipsoidEmitter::Clone</a></div><div class="ttdeci">virtual void Clone(ParticleEmitter *pe)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:528</div></div>
<div class="ttc" id="class_particle_emitter_html_acdcc4d525c00dfe61df4618a9af0be5b"><div class="ttname"><a href="class_particle_emitter.html#acdcc4d525c00dfe61df4618a9af0be5b">ParticleEmitter::m_fDurationRemain</a></div><div class="ttdeci">float m_fDurationRemain</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:60</div></div>
<div class="ttc" id="class_ring_emitter_html"><div class="ttname"><a href="class_ring_emitter.html">RingEmitter</a></div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:183</div></div>
<div class="ttc" id="class_particle_emitter_html_a61dffba32bcd41deeca2d79d3db11dde"><div class="ttname"><a href="class_particle_emitter.html#a61dffba32bcd41deeca2d79d3db11dde">ParticleEmitter::_GenEmissionPosition</a></div><div class="ttdeci">virtual void _GenEmissionPosition(D3DXVECTOR3 &amp;destVector)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:123</div></div>
<div class="ttc" id="class_particle_emitter_html_aa6c58b25d7ea135f9f4473a60a415aa8"><div class="ttname"><a href="class_particle_emitter.html#aa6c58b25d7ea135f9f4473a60a415aa8">ParticleEmitter::GenEmissionCount</a></div><div class="ttdeci">virtual unsigned int GenEmissionCount(float fElapsedTime)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:73</div></div>
<div class="ttc" id="class_particle_emitter_html_a04fdd9e261ba5e773f70777c2e34df47"><div class="ttname"><a href="class_particle_emitter.html#a04fdd9e261ba5e773f70777c2e34df47">ParticleEmitter::m_dwStartColor</a></div><div class="ttdeci">DWORD m_dwStartColor</div><div class="ttdoc">“起始颜色”，粒子的顶点色等于“起始颜色”到“结束颜色”间的随机值。 </div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:53</div></div>
<div class="ttc" id="class_particle_emitter_html_aeb9d80a567d6579dea60ed090abd04d3"><div class="ttname"><a href="class_particle_emitter.html#aeb9d80a567d6579dea60ed090abd04d3">ParticleEmitter::m_fDurationMin</a></div><div class="ttdeci">float m_fDurationMin</div><div class="ttdoc">由发射到停止发射之间的时间 </div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:58</div></div>
<div class="ttc" id="class_particle_emitter_html_a19ba08a92ef1e2c546264dda07e0cf34"><div class="ttname"><a href="class_particle_emitter.html#a19ba08a92ef1e2c546264dda07e0cf34">ParticleEmitter::m_pParent</a></div><div class="ttdeci">ParticleGroup * m_pParent</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:68</div></div>
<div class="ttc" id="class_particle_emitter_html_a0f96f90951bdfe9b8ea97a17cf219f16"><div class="ttname"><a href="class_particle_emitter.html#a0f96f90951bdfe9b8ea97a17cf219f16">ParticleEmitter::m_vDirection</a></div><div class="ttdeci">D3DXVECTOR3 m_vDirection</div><div class="ttdoc">粒子团在本地空间中的方向 </div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:35</div></div>
<div class="ttc" id="class_area_emitter_html_a3f22dd54875e02173aeb0edcfaf95e57"><div class="ttname"><a href="class_area_emitter.html#a3f22dd54875e02173aeb0edcfaf95e57">AreaEmitter::Save</a></div><div class="ttdeci">virtual bool Save(TiXmlElement *pElemEmitter)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:364</div></div>
<div class="ttc" id="class_particle_emitter_html_ac19c019e5960a32c28697ccdb097cdb8"><div class="ttname"><a href="class_particle_emitter.html#ac19c019e5960a32c28697ccdb097cdb8">ParticleEmitter::m_fRepeatDelayRemain</a></div><div class="ttdeci">float m_fRepeatDelayRemain</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:64</div></div>
<div class="ttc" id="class_particle_html"><div class="ttname"><a href="class_particle.html">Particle</a></div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:24</div></div>
<div class="ttc" id="class_particle_emitter_html_aed007d0a773ff80174598d3afcf57b90"><div class="ttname"><a href="class_particle_emitter.html#aed007d0a773ff80174598d3afcf57b90">ParticleEmitter::ParticleEmitter</a></div><div class="ttdeci">ParticleEmitter(ParticleGroup *pParent)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:7</div></div>
<div class="ttc" id="class_particle_group_html"><div class="ttname"><a href="class_particle_group.html">ParticleGroup</a></div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:88</div></div>
<div class="ttc" id="class_particle_emitter_html_a0da4319110bddc120f9ba1d08c8ec2d1"><div class="ttname"><a href="class_particle_emitter.html#a0da4319110bddc120f9ba1d08c8ec2d1">ParticleEmitter::m_fMinTTL</a></div><div class="ttdeci">float m_fMinTTL</div><div class="ttdoc">“最小生存期”。粒子生存期由“最小生存期”和“最大生存期”之间的随机值决定。不允许为负数。 ...</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:45</div></div>
<div class="ttc" id="class_hollow_ellipsoid_emitter_html_a3d8c992be1030cd4b71f921a5542c7e6"><div class="ttname"><a href="class_hollow_ellipsoid_emitter.html#a3d8c992be1030cd4b71f921a5542c7e6">HollowEllipsoidEmitter::SetInnerSize</a></div><div class="ttdeci">void SetInnerSize(float x, float y, float z)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:521</div></div>
<div class="ttc" id="class_particle_emitter_html_ad4b73237cc23d6acbfc2d8afe76e782c"><div class="ttname"><a href="class_particle_emitter.html#ad4b73237cc23d6acbfc2d8afe76e782c">ParticleEmitter::m_fRemainder</a></div><div class="ttdeci">float m_fRemainder</div><div class="ttdoc">上一帧计算粒子数目的小数部分，当m_fEmissionRate为小数时，此参数可以避免发射不出粒子的情况。 ...</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:31</div></div>
<div class="ttc" id="class_area_emitter_html_a210bbe87dccd9454db2030ff1fe153a1"><div class="ttname"><a href="class_area_emitter.html#a210bbe87dccd9454db2030ff1fe153a1">AreaEmitter::m_vSize</a></div><div class="ttdeci">D3DXVECTOR3 m_vSize</div><div class="ttdoc">x,y,z三个方向的长度 </div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:148</div></div>
<div class="ttc" id="class_particle_emitter_html_a933ac6626b9ff109d6b4b92e16e11835"><div class="ttname"><a href="class_particle_emitter.html#a933ac6626b9ff109d6b4b92e16e11835">ParticleEmitter::m_vPosition</a></div><div class="ttdeci">D3DXVECTOR3 m_vPosition</div><div class="ttdoc">粒子团在本地空间中的位置 </div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:33</div></div>
<div class="ttc" id="class_particle_emitter_html_aa5662c615a7380ee3558ad4c59de0107"><div class="ttname"><a href="class_particle_emitter.html#aa5662c615a7380ee3558ad4c59de0107">ParticleEmitter::Clone</a></div><div class="ttdeci">virtual void Clone(ParticleEmitter *pe)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:291</div></div>
<div class="ttc" id="class_area_emitter_html_a3ceaf96d1fd92697deb956e173bea432"><div class="ttname"><a href="class_area_emitter.html#a3ceaf96d1fd92697deb956e173bea432">AreaEmitter::m_vXRange</a></div><div class="ttdeci">D3DXVECTOR3 m_vXRange</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:149</div></div>
<div class="ttc" id="class_particle_emitter_html_a15933015716489b7e2e898365fe65086"><div class="ttname"><a href="class_particle_emitter.html#a15933015716489b7e2e898365fe65086">ParticleEmitter::m_vUp</a></div><div class="ttdeci">D3DXVECTOR3 m_vUp</div><div class="ttdoc">Up向量，用来辅助产生随机向量 </div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:37</div></div>
<div class="ttc" id="class_particle_emitter_html_aeea87d7346591c680dd0461f8b9519fa"><div class="ttname"><a href="class_particle_emitter.html#aeea87d7346591c680dd0461f8b9519fa">ParticleEmitter::SetDirection</a></div><div class="ttdeci">void SetDirection(D3DXVECTOR3 &amp;dir)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:34</div></div>
<div class="ttc" id="class_area_emitter_html_ad6c8bddbea4e8f97860267fffe64c084"><div class="ttname"><a href="class_area_emitter.html#ad6c8bddbea4e8f97860267fffe64c084">AreaEmitter::AreaEmitter</a></div><div class="ttdeci">AreaEmitter(ParticleGroup *pParent)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:323</div></div>
<div class="ttc" id="class_ring_emitter_html_a8a1a17547895ab7bb337821ba1b84583"><div class="ttname"><a href="class_ring_emitter.html#a8a1a17547895ab7bb337821ba1b84583">RingEmitter::Clone</a></div><div class="ttdeci">virtual void Clone(ParticleEmitter *pe)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:458</div></div>
<div class="ttc" id="class_ring_emitter_html_a065517ae5ff6bb665783505170e122d3"><div class="ttname"><a href="class_ring_emitter.html#a065517ae5ff6bb665783505170e122d3">RingEmitter::m_fInnerX</a></div><div class="ttdeci">float m_fInnerX</div><div class="ttdoc">内环x方向的长度 </div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:195</div></div>
<div class="ttc" id="class_hollow_ellipsoid_emitter_html_aeb8648ce97960cf4be2ba8840c4cbbfb"><div class="ttname"><a href="class_hollow_ellipsoid_emitter.html#aeb8648ce97960cf4be2ba8840c4cbbfb">HollowEllipsoidEmitter::_GenEmissionPosition</a></div><div class="ttdeci">virtual void _GenEmissionPosition(D3DXVECTOR3 &amp;destVector)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:495</div></div>
<div class="ttc" id="class_particle_emitter_html_a5d82883724ec7297a6787b2668709009"><div class="ttname"><a href="class_particle_emitter.html#a5d82883724ec7297a6787b2668709009">ParticleEmitter::SetEnable</a></div><div class="ttdeci">void SetEnable(bool bEnable)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:56</div></div>
<div class="ttc" id="class_particle_emitter_html_ab051553f050675ad68a529a9480a0f9c"><div class="ttname"><a href="class_particle_emitter.html#ab051553f050675ad68a529a9480a0f9c">ParticleEmitter::m_dwEndColor</a></div><div class="ttdeci">DWORD m_dwEndColor</div><div class="ttdoc">“结束颜色”，粒子的顶点色等于“起始颜色”到“结束颜色”间的随机值。 </div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:55</div></div>
<div class="ttc" id="class_point_emitter_html_a7b9edf60c02651f5a12d6b2d4c06a6ae"><div class="ttname"><a href="class_point_emitter.html#a7b9edf60c02651f5a12d6b2d4c06a6ae">PointEmitter::PointEmitter</a></div><div class="ttdeci">PointEmitter(ParticleGroup *pParent)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:313</div></div>
<div class="ttc" id="class_hollow_ellipsoid_emitter_html_a83415a4dda4d7cb1d5c3957a03430109"><div class="ttname"><a href="class_hollow_ellipsoid_emitter.html#a83415a4dda4d7cb1d5c3957a03430109">HollowEllipsoidEmitter::HollowEllipsoidEmitter</a></div><div class="ttdeci">HollowEllipsoidEmitter(ParticleGroup *pParent)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:487</div></div>
<div class="ttc" id="class_hollow_ellipsoid_emitter_html_a7f7332124a559cbaa684780cb02924be"><div class="ttname"><a href="class_hollow_ellipsoid_emitter.html#a7f7332124a559cbaa684780cb02924be">HollowEllipsoidEmitter::~HollowEllipsoidEmitter</a></div><div class="ttdeci">virtual ~HollowEllipsoidEmitter()</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:492</div></div>
<div class="ttc" id="class_particle_emitter_html_a431a2b88623a2a155ccbfbcc54675828"><div class="ttname"><a href="class_particle_emitter.html#a431a2b88623a2a155ccbfbcc54675828">ParticleEmitter::m_fRepeatDelayMin</a></div><div class="ttdeci">float m_fRepeatDelayMin</div><div class="ttdoc">由停止发射到再次发射之间的时间 </div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:62</div></div>
<div class="ttc" id="class_particle_emitter_html_a4dba8f0a5ae92e8b74614acffac089d3"><div class="ttname"><a href="class_particle_emitter.html#a4dba8f0a5ae92e8b74614acffac089d3">ParticleEmitter::m_fMaxTTL</a></div><div class="ttdeci">float m_fMaxTTL</div><div class="ttdoc">“最大生存期”。粒子生存期由“最小生存期”和“最大生存期”之间的随机值决定。不允许为负数。 ...</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:47</div></div>
<div class="ttc" id="class_ring_emitter_html_ab9cfd92e7873cbf93ffc2fbd59fc8dcd"><div class="ttname"><a href="class_ring_emitter.html#ab9cfd92e7873cbf93ffc2fbd59fc8dcd">RingEmitter::m_fInnerY</a></div><div class="ttdeci">float m_fInnerY</div><div class="ttdoc">内环y方向的长度 </div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:197</div></div>
<div class="ttc" id="class_particle_emitter_html_af4af88a71454913e6e2bd41762804025"><div class="ttname"><a href="class_particle_emitter.html#af4af88a71454913e6e2bd41762804025">ParticleEmitter::_GenEmissionSpeed</a></div><div class="ttdeci">virtual void _GenEmissionSpeed(D3DXVECTOR3 &amp;destVector)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:140</div></div>
<div class="ttc" id="class_particle_emitter_html_a321a4e7745e2a5fc01c915f7a5f60871"><div class="ttname"><a href="class_particle_emitter.html#a321a4e7745e2a5fc01c915f7a5f60871">ParticleEmitter::m_fEmissionRate</a></div><div class="ttdeci">float m_fEmissionRate</div><div class="ttdoc">发射率。每秒钟发射粒子的个数，允许为小数 </div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:29</div></div>
<div class="ttc" id="class_box_emitter_html_a5d07348f477a582c99ad7d29c31eb2ae"><div class="ttname"><a href="class_box_emitter.html#a5d07348f477a582c99ad7d29c31eb2ae">BoxEmitter::_GenEmissionPosition</a></div><div class="ttdeci">virtual void _GenEmissionPosition(D3DXVECTOR3 &amp;destVector)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:387</div></div>
<div class="ttc" id="class_hollow_ellipsoid_emitter_html_a9b21c611a4cd34abdd611515f33c9141"><div class="ttname"><a href="class_hollow_ellipsoid_emitter.html#a9b21c611a4cd34abdd611515f33c9141">HollowEllipsoidEmitter::m_vInnerSize</a></div><div class="ttdeci">D3DXVECTOR3 m_vInnerSize</div><div class="ttdoc">内环x,y,z三个方向的长度 </div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:213</div></div>
<div class="ttc" id="class_ring_emitter_html_adcb3d13935eac7e2db7edefd20f2df28"><div class="ttname"><a href="class_ring_emitter.html#adcb3d13935eac7e2db7edefd20f2df28">RingEmitter::~RingEmitter</a></div><div class="ttdeci">virtual ~RingEmitter()</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:429</div></div>
<div class="ttc" id="class_particle_emitter_html_a89faa8c4e90eded84b33ddd73fb50f38"><div class="ttname"><a href="class_particle_emitter.html#a89faa8c4e90eded84b33ddd73fb50f38">ParticleEmitter::m_bEnable</a></div><div class="ttdeci">bool m_bEnable</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:66</div></div>
<div class="ttc" id="class_area_emitter_html_a0d17b48e7e640b4456721348407b83c4"><div class="ttname"><a href="class_area_emitter.html#a0d17b48e7e640b4456721348407b83c4">AreaEmitter::SetSize</a></div><div class="ttdeci">void SetSize(float x, float y, float z)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:332</div></div>
<div class="ttc" id="class_ellipsoid_emitter_html"><div class="ttname"><a href="class_ellipsoid_emitter.html">EllipsoidEmitter</a></div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:173</div></div>
<div class="ttc" id="class_ellipsoid_emitter_html_a136d41507f619a050d7bfe82f02d9132"><div class="ttname"><a href="class_ellipsoid_emitter.html#a136d41507f619a050d7bfe82f02d9132">EllipsoidEmitter::EllipsoidEmitter</a></div><div class="ttdeci">EllipsoidEmitter(ParticleGroup *pParent)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:393</div></div>
<div class="ttc" id="class_particle_emitter_html_aeb53a3297453172c7118eddbad15fa93"><div class="ttname"><a href="class_particle_emitter.html#aeb53a3297453172c7118eddbad15fa93">ParticleEmitter::m_fMaxSpeed</a></div><div class="ttdeci">float m_fMaxSpeed</div><div class="ttdoc">“最大速度”。粒子的速率由“最小速度”和“最大速度”之间的随机值决定。 </div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:51</div></div>
<div class="ttc" id="class_area_emitter_html_a2f0d809735a956e7965ee5947a9b2351"><div class="ttname"><a href="class_area_emitter.html#a2f0d809735a956e7965ee5947a9b2351">AreaEmitter::m_vZRange</a></div><div class="ttdeci">D3DXVECTOR3 m_vZRange</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:151</div></div>
<div class="ttc" id="class_particle_emitter_html_ad8b1d158efad6959e5537e2786b54be4"><div class="ttname"><a href="class_particle_emitter.html#ad8b1d158efad6959e5537e2786b54be4">ParticleEmitter::SetDuration</a></div><div class="ttdeci">void SetDuration(float min, float max)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:44</div></div>
<div class="ttc" id="class_particle_emitter_html_afa810b7f0033db4986c549ea3d7c8161"><div class="ttname"><a href="class_particle_emitter.html#afa810b7f0033db4986c549ea3d7c8161">ParticleEmitter::InitParticle</a></div><div class="ttdeci">virtual void InitParticle(Particle *p)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:62</div></div>
<div class="ttc" id="class_particle_emitter_html_ab3c66f7f52f4a65eafd3cb231c0de1cd"><div class="ttname"><a href="class_particle_emitter.html#ab3c66f7f52f4a65eafd3cb231c0de1cd">ParticleEmitter::m_fRepeatDelayMax</a></div><div class="ttdeci">float m_fRepeatDelayMax</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:63</div></div>
<div class="ttc" id="class_hollow_ellipsoid_emitter_html_a290db4d7ebda6f733378588116e160d2"><div class="ttname"><a href="class_hollow_ellipsoid_emitter.html#a290db4d7ebda6f733378588116e160d2">HollowEllipsoidEmitter::InitParticle</a></div><div class="ttdeci">virtual void InitParticle(Particle *p)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:513</div></div>
<div class="ttc" id="class_ellipsoid_emitter_html_aacfce08531cd0f0484719783cf7cd38d"><div class="ttname"><a href="class_ellipsoid_emitter.html#aacfce08531cd0f0484719783cf7cd38d">EllipsoidEmitter::~EllipsoidEmitter</a></div><div class="ttdeci">virtual ~EllipsoidEmitter()</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:398</div></div>
<div class="ttc" id="class_particle_emitter_html_ad0583613e00b564f6c868c5f4d94fb06"><div class="ttname"><a href="class_particle_emitter.html#ad0583613e00b564f6c868c5f4d94fb06">ParticleEmitter::_GenEmissionTTL</a></div><div class="ttdeci">virtual float _GenEmissionTTL()</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:111</div></div>
<div class="ttc" id="class_box_emitter_html_a7a9f828651c6758f9f9451bccd710061"><div class="ttname"><a href="class_box_emitter.html#a7a9f828651c6758f9f9451bccd710061">BoxEmitter::BoxEmitter</a></div><div class="ttdeci">BoxEmitter(ParticleGroup *pParent)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:378</div></div>
<div class="ttc" id="class_hollow_ellipsoid_emitter_html"><div class="ttname"><a href="class_hollow_ellipsoid_emitter.html">HollowEllipsoidEmitter</a></div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:202</div></div>
<div class="ttc" id="class_particle_emitter_html_a0e1398096052f568c81732a1dfa71093"><div class="ttname"><a href="class_particle_emitter.html#a0e1398096052f568c81732a1dfa71093">ParticleEmitter::Save</a></div><div class="ttdeci">virtual bool Save(TiXmlElement *pElemEmitter)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:287</div></div>
<div class="ttc" id="class_particle_emitter_html_a17eb39158326b7c0b89be4c3968de519"><div class="ttname"><a href="class_particle_emitter.html#a17eb39158326b7c0b89be4c3968de519">ParticleEmitter::m_fDurationMax</a></div><div class="ttdeci">float m_fDurationMax</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:59</div></div>
<div class="ttc" id="class_particle_emitter_html_a9002a897dbeb7eb645af9448a4546599"><div class="ttname"><a href="class_particle_emitter.html#a9002a897dbeb7eb645af9448a4546599">ParticleEmitter::m_fMinSpeed</a></div><div class="ttdeci">float m_fMinSpeed</div><div class="ttdoc">“最小速度”。粒子的速率由“最小速度”和“最大速度”之间的随机值决定。 </div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:49</div></div>
<div class="ttc" id="class_particle_emitter_html_aa179b51274444dae513302c1f4699a40"><div class="ttname"><a href="class_particle_emitter.html#aa179b51274444dae513302c1f4699a40">ParticleEmitter::m_fAngle</a></div><div class="ttdeci">float m_fAngle</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:43</div></div>
<div class="ttc" id="class_area_emitter_html_a66785ba072a21b45653eb4896d412f54"><div class="ttname"><a href="class_area_emitter.html#a66785ba072a21b45653eb4896d412f54">AreaEmitter::Clone</a></div><div class="ttdeci">virtual void Clone(ParticleEmitter *pe)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:368</div></div>
<div class="ttc" id="class_area_emitter_html_a6d89fb04c881508e8979b1d859569370"><div class="ttname"><a href="class_area_emitter.html#a6d89fb04c881508e8979b1d859569370">AreaEmitter::m_vYRange</a></div><div class="ttdeci">D3DXVECTOR3 m_vYRange</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:150</div></div>
<div class="ttc" id="class_area_emitter_html_a8c29bdc2c54086f7b69a6acb5f5e3c9a"><div class="ttname"><a href="class_area_emitter.html#a8c29bdc2c54086f7b69a6acb5f5e3c9a">AreaEmitter::Load</a></div><div class="ttdeci">virtual bool Load(TiXmlElement *pElemEmitter)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:347</div></div>
<div class="ttc" id="class_ring_emitter_html_ac45625ef7cd0e0815aca40c43811617d"><div class="ttname"><a href="class_ring_emitter.html#ac45625ef7cd0e0815aca40c43811617d">RingEmitter::RingEmitter</a></div><div class="ttdeci">RingEmitter(ParticleGroup *pParent)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:424</div></div>
<div class="ttc" id="class_area_emitter_html"><div class="ttname"><a href="class_area_emitter.html">AreaEmitter</a></div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:141</div></div>
<div class="ttc" id="class_ring_emitter_html_aba56fbe16fac961e9b698355aff28786"><div class="ttname"><a href="class_ring_emitter.html#aba56fbe16fac961e9b698355aff28786">RingEmitter::SetInnerSize</a></div><div class="ttdeci">void SetInnerSize(float x, float y)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:452</div></div>
<div class="ttc" id="class_ring_emitter_html_a3ef079aa3e99c19a816ef78599b8c2ed"><div class="ttname"><a href="class_ring_emitter.html#a3ef079aa3e99c19a816ef78599b8c2ed">RingEmitter::Load</a></div><div class="ttdeci">virtual bool Load(TiXmlElement *pElemEmitter)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:466</div></div>
<div class="ttc" id="class_point_emitter_html_ad62157a25ec8eaf4de7f82e8177021a9"><div class="ttname"><a href="class_point_emitter.html#ad62157a25ec8eaf4de7f82e8177021a9">PointEmitter::~PointEmitter</a></div><div class="ttdeci">virtual ~PointEmitter()</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:318</div></div>
<div class="ttc" id="class_ti_xml_element_html"><div class="ttname"><a href="class_ti_xml_element.html">TiXmlElement</a></div><div class="ttdef"><b>Definition:</b> tinyxml.h:936</div></div>
<div class="ttc" id="class_ellipsoid_emitter_html_a9df549a7b86c780b8d3a1f5dd127fd62"><div class="ttname"><a href="class_ellipsoid_emitter.html#a9df549a7b86c780b8d3a1f5dd127fd62">EllipsoidEmitter::_GenEmissionPosition</a></div><div class="ttdeci">virtual void _GenEmissionPosition(D3DXVECTOR3 &amp;destVector)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:402</div></div>
<div class="ttc" id="class_box_emitter_html"><div class="ttname"><a href="class_box_emitter.html">BoxEmitter</a></div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:162</div></div>
<div class="ttc" id="class_particle_emitter_html_ac02f812c256b1f83b0dcaf8317368429"><div class="ttname"><a href="class_particle_emitter.html#ac02f812c256b1f83b0dcaf8317368429">ParticleEmitter::_InitDurationRepeat</a></div><div class="ttdeci">void _InitDurationRepeat(void)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:181</div></div>
<div class="ttc" id="class_particle_emitter_html_a6f4952f7555ede99d74d42b30c80f3e2"><div class="ttname"><a href="class_particle_emitter.html#a6f4952f7555ede99d74d42b30c80f3e2">ParticleEmitter::~ParticleEmitter</a></div><div class="ttdeci">virtual ~ParticleEmitter()</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:30</div></div>
<div class="ttc" id="class_area_emitter_html_ade6d2f5fc6ffe5103589b27018883c6d"><div class="ttname"><a href="class_area_emitter.html#ade6d2f5fc6ffe5103589b27018883c6d">AreaEmitter::~AreaEmitter</a></div><div class="ttdeci">virtual ~AreaEmitter()</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:328</div></div>
<div class="ttc" id="class_ring_emitter_html_ada90f3c8695b7afab4f2c7719fec3b3d"><div class="ttname"><a href="class_ring_emitter.html#ada90f3c8695b7afab4f2c7719fec3b3d">RingEmitter::_GenEmissionPosition</a></div><div class="ttdeci">virtual void _GenEmissionPosition(D3DXVECTOR3 &amp;destVector)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:433</div></div>
<div class="ttc" id="class_particle_emitter_html"><div class="ttname"><a href="class_particle_emitter.html">ParticleEmitter</a></div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:24</div></div>
<div class="ttc" id="class_particle_emitter_html_a6877d69d411f4cb478ee3ab9a681a2c0"><div class="ttname"><a href="class_particle_emitter.html#a6877d69d411f4cb478ee3ab9a681a2c0">ParticleEmitter::_GenEmissionDirection</a></div><div class="ttdeci">virtual void _GenEmissionDirection(D3DXVECTOR3 &amp;destVector)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:127</div></div>
<div class="ttc" id="class_ring_emitter_html_a0f50b7f52feb973ddd0c1f8a4982f97e"><div class="ttname"><a href="class_ring_emitter.html#a0f50b7f52feb973ddd0c1f8a4982f97e">RingEmitter::Save</a></div><div class="ttdeci">virtual bool Save(TiXmlElement *pElemEmitter)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:481</div></div>
<div class="ttc" id="class_particle_emitter_html_aaef736e0c751315eaa01d6a2f5327c5d"><div class="ttname"><a href="class_particle_emitter.html#aaef736e0c751315eaa01d6a2f5327c5d">ParticleEmitter::m_Type</a></div><div class="ttdeci">string m_Type</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:27</div></div>
<div class="ttc" id="class_particle_emitter_html_a60ec850dc9389b43786c792be9798723"><div class="ttname"><a href="class_particle_emitter.html#a60ec850dc9389b43786c792be9798723">ParticleEmitter::SetRepeatDelay</a></div><div class="ttdeci">void SetRepeatDelay(float min, float max)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:50</div></div>
<div class="ttc" id="class_particle_emitter_html_a428147d02db1fd051687d8c21699815c"><div class="ttname"><a href="class_particle_emitter.html#a428147d02db1fd051687d8c21699815c">ParticleEmitter::_GenEmissionColor</a></div><div class="ttdeci">virtual void _GenEmissionColor(DWORD &amp;color)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:153</div></div>
<div class="ttc" id="class_particle_emitter_html_abaf74d367f0b0c2f0cdcc4a911edbcca"><div class="ttname"><a href="class_particle_emitter.html#abaf74d367f0b0c2f0cdcc4a911edbcca">ParticleEmitter::Load</a></div><div class="ttdeci">virtual bool Load(TiXmlElement *pElemEmitter)</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:209</div></div>
<div class="ttc" id="class_box_emitter_html_ac888a513eb167defddb5084305d9c5c4"><div class="ttname"><a href="class_box_emitter.html#ac888a513eb167defddb5084305d9c5c4">BoxEmitter::~BoxEmitter</a></div><div class="ttdeci">virtual ~BoxEmitter()</div><div class="ttdef"><b>Definition:</b> ParticleEmitter.cpp:383</div></div>
<div class="ttc" id="class_point_emitter_html"><div class="ttname"><a href="class_point_emitter.html">PointEmitter</a></div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:131</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2018年 七月 1日 星期日 22:10:09 , 为 My Project使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
